home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / cstwnd / custstrc.h < prev    next >
C/C++ Source or Header  |  1993-12-14  |  1KB  |  46 lines

  1. #ifndef _CUSTSTRC_H_
  2. #define _CUSTSTRC_H_
  3.  
  4. #ifndef ___DEFS_H
  5. #include <_defs.h>
  6. #endif
  7.  
  8. #ifndef __WINDOWS_H
  9. #include <windows.h>
  10. #endif
  11.  
  12. _CLASSDEF(CustColors)
  13. struct _EXPORT CustColors
  14. {
  15.     int    Size;    //Size of structure for future
  16.        //compatibility
  17.     COLORREF    TitleBarActive, TitleBarInactive, WindowBack;
  18.     COLORREF TitleTextActive, TitleTextInactive;
  19.     COLORREF UpLeftBorders, RightBottomBorders;
  20.     COLORREF ButtonText, ListBoxText, StaticText;
  21.     COLORREF EditText;
  22.     //Ver 1.00 Size = 354
  23.    CustColors() { Size = sizeof(CustColors); };
  24.     void WindowsDefaults(void);
  25.    void OrigClassDefaults(void);
  26. };
  27.  
  28. _CLASSDEF(CustCursors)
  29. struct _CLASSTYPE CustCursors
  30. {
  31.     int    Size;
  32.    HINSTANCE    Instance;
  33.     int    VerticalBorder, HorizontalBorder;
  34.     int    DiagonalLeftBorder, DiagonalRightBorder;
  35.     int    Main;
  36.     int    TitleBar, SysMenu;
  37.     int    HorizontalScrollBar, VerticalScrollBar;
  38.     int    Menu, Maximize, Minimize, Border;
  39.     int    NCButton;
  40.    //Ver 1.10 Size = 32
  41.     CustCursors()    { Size = sizeof(CustCursors);    };
  42.     void WindowsDefaults(void);
  43.    void OrigClassDefaults(void);
  44. };    
  45.  
  46. #endif